package www.woniuxy.com.class112.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import www.woniuxy.com.class112.entity.NoticeDetail;
import www.woniuxy.com.class112.entity.NoticeDetailExample;

public interface NoticeDetailMapper {
    long countByExample(NoticeDetailExample example);

    int deleteByExample(NoticeDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(NoticeDetail record);

    int insertSelective(NoticeDetail record);

    List<NoticeDetail> selectByExample(NoticeDetailExample example);

    NoticeDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") NoticeDetail record, @Param("example") NoticeDetailExample example);

    int updateByExample(@Param("record") NoticeDetail record, @Param("example") NoticeDetailExample example);

    int updateByPrimaryKeySelective(NoticeDetail record);

    int updateByPrimaryKey(NoticeDetail record);
    @Select("select * from notice_detail where notice_id=#{noticeId}")
    NoticeDetail selectByNoticeId(Long noticeId);
}